/**
* SJax and Ajax connection driver
*/
var GAjax = {

  SJax : function(url,
                  params){

    var xmlHttp = new XMLHttpRequest();
    
    url += "?sid="+Math.random();
    
    xmlHttp.open("POST", url, false);
    
    xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
    xmlHttp.setRequestHeader("Content-length", params.length);
    xmlHttp.setRequestHeader("Connection", "close");
    
    xmlHttp.onreadystatechange = function() {//Call a function when the state changes.
      
    }
    
    xmlHttp.send(params);
    
    return xmlHttp.responseText;
  }
}